const getPlatform = () => {
  let type = '';
  if (process.platform == 'darwin') {
    //console.log('这是mac系统');
    type = 'mac';
  }
  if (process.platform == 'win32') {
    //console.log('这是windows系统');
    type = 'win32';
  }
  if (process.platform == 'linux') {
    //console.log('这是linux系统');
    type = 'linux';
  }
  return type;
}


export {
  getPlatform
}
